
package gal.game.module.gal
{
	import gal.game.core.display.DisplayBase;
	import gal.game.core.resource.GameLoader;
	import gal.game.util.InstanceUtil;
	
	/**
	 * @author 缺硒
	 */
	public class Role extends DisplayBase
	{
		private var _rid:String;
		private var _body:GameLoader;
		
		// 构造函数
		public function Role(rid:String)
		{
			_body = InstanceUtil.create(new GameLoader(), this);
			_rid = rid;
			
			_body.loadElement("assets/role/" + _rid + ".png");
		}
		//
	}
}